<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>修改</title>
    <link rel="stylesheet" href="../css/login.css"/>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.css">

</head>


<style>
    body{
        background-image: url("../images/w3.jpg");
        background-size:contain;
        background-size:cover;
        background-repeat:no-repeat;
    }
    table
    {
        border-collapse:collapse;
    }
    table, td
    {
        border:1px solid green;
    }
    td
    {
        padding:15px;
    }

</style>
<body >
<div align="center">
    <h1>修改个人信息</h1>
    <jsp:useBean id="Students" class="com.wang.entity.Students" scope="request"></jsp:useBean>
    <%--@elvariable id="Students" type="com.wang.entity.Students"--%>
    <form:form  name="form" method="post" action="updatesm"  commandName="Students" >
        <table>
            <tr>
                <td>用 户 名:</td>
                <td><form:input path="sname"/></td>
            </tr>
            <tr>
                <td>性   别：</td>
                <td><form:input path="ssex"/></td>
            </tr>
            <tr>
                <td>生   日：</td>
                <td><form:input path="sbirthday"/></td>
            </tr>
            <tr>
                <td>年   级：</td>
                <td><form:input path="sgrade"/></td>
            </tr>
            <tr>
                <td>学   校：</td>
                <td><form:input path="school"/></td>
            </tr>
            <tr>

                <td colspan="2" align="center"><input type="submit" value="提交"/></td>
            </tr>

        </table>

    </form:form>
</div>

</body>
</html>